package com.jet.chat.db;

import com.jet.chat.exception.ChatExceptionDBService;
import com.jet.chat.service.DBService;


public class ChatHistoryCreate {

	public static void main(String[] args) {
		DBService dbService = new DBService("chatdb");
		try {
			dbService.createConnection();
			dbService.execUPD("create table history (id int primary key not null, senderid int, receiverid int, channelname varchar(100), content clob)");
			dbService.shutdown();
		} catch (ChatExceptionDBService e) {
			e.printStackTrace();
		}
	}

}
